package com.ity.teamanagement.entity.inputParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author coderFu
 * @create 2021/11/10
 */
@ApiModel("删除轮播图参数")
@Data
public class DeleteRotationChartParam {

    @ApiModelProperty("轮播图id")
    @NotNull(message = "轮播图id不能为空")
    @Min(value = 1,message = "轮播图id必须大于等于1")
    private Integer id;
}
